import { Select } from 'antd';
import {STATIC} from '@/services/config';

const SchoolType = (props = {}) => {
  const list = STATIC.schoolType;
  return (
    <Select allowClear placeholder='请选择学校类型' {...props}>
      {list.map((item) => (
         <Select.Option value={item.value} key={item.value}>{item.name}</Select.Option>
      ))}
    </Select>
  )
}

export default SchoolType
